package com.igeek.compus.backend.order.service.impl;

import com.igeek.compus.backend.order.dao.OrderDao;
import com.igeek.compus.backend.order.entity.Order;
import com.igeek.compus.backend.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    public List<Order> getOrderListByPage(Order order) {
        return orderDao.getOrderListByPage(order);
    }
}
